//
//  PageViewController.h
//  xBooks
//
//  Created by wicresoft on 6/23/11.
//  Copyright 2011 wicresoft. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface PageViewController : UIViewController {
    int totalPages;
    int currentPage;
    int referTotalPages;
    int referCharatersPerPage;
    
    NSRange *rangeOfPages;
    NSString *text;
    UILabel *textLabel;
    UILabel *pageInfoLabel;
}

@property (nonatomic,retain) NSString *text;
@property (nonatomic,retain) IBOutlet UILabel *textLabel;
@property (nonatomic,retain) IBOutlet UILabel *pageInfoLabel;

-(void)loadString;

- (IBAction)bactAction;
- (IBAction)actionNext:(id)sender;
- (IBAction)actionPrevious:(id)sender;

@end
